package com.summer;

/**
 * 实体类定义的元数据 - meta data
 * @author chanchaw
 * @create 2022-10-10 13:45
 */
public class BeanDefinition {
    private Class type;
    private String scope;
    private Boolean lazy;

    private String defaultBeanName;

    public String getDefaultBeanName() {
        return defaultBeanName;
    }

    public void setDefaultBeanName(String defaultBeanName) {
        this.defaultBeanName = defaultBeanName;
    }

    public Class getType() {
        return type;
    }

    public void setType(Class type) {
        this.type = type;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public Boolean getLazy() {
        return lazy;
    }

    public void setLazy(Boolean lazy) {
        this.lazy = lazy;
    }

    @Override
    public String toString() {
        return "BeanDefinition{" +
                "type=" + type +
                ", scope='" + scope + '\'' +
                ", lazy=" + lazy +
                ", defaultBeanName='" + defaultBeanName + '\'' +
                '}';
    }

}
